package com.jintu.portal.interceptor;

import com.jintu.portal.exception.RestException;
import com.jintu.portal.pojo.dto.TobUserDto;
import com.jintu.portal.utils.SessionUtil;
import com.jintu.portal.utils.StringUtil;
import com.jintu.portal.utils.UserUtil;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URLEncoder;
import java.util.Calendar;
import java.util.Date;

@Component
public class TestInterceptor implements HandlerInterceptor {
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        System.out.println("TestInterceptor**********");
        return true;
    }
}
